#ifndef BUCKETACCESS_H
#define BUCKETACCESS_H

#include "../ServerStruct.h"

#define BUCKET_ACCESS_POLICY_PUBLIC 0
#define BUCKET_ACCESS_POLICY_PRIVATE 1

#define BUCKET_DEFAULT_ACCESS_POLICY BUCKET_ACCESS_POLICY_PRIVATE

int bucket_access_check(Request *request, Response *response);

#endif //BUCKETACCESS_H
